<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <title>新增收货地址-会员中心</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="description" content="">
        <meta name="keywords" content="">
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link href="{$theme_path}/css/basic.css" type="text/css" rel="stylesheet">
        <link href="{$theme_path}/css/member.css" type="text/css" rel="stylesheet">
        <script src="__PUBLIC__/common/jquery-1.12.1.min.js"></script>
        <script src="{$theme_path}/js/basic.js"></script>
        <script src="{$theme_path}/js/picturefill.min.js"></script>
        <!--[if lt IE 9]>
        <script type="text/javascript" src="{$theme_path}/js/html5.js" ></script>
        <script type="text/javascript" src="{$theme_path}/js/respond.min.js" ></script>
        <![endif]-->
    </head>
    <body>
    <include file="Public/header" />
    <main class="main-content">
        <div class="visible-lg content_nav container">您当前的位置：<a href="#">首页</a> > <a href="#">会员中心</a> > <a href="#" class="sel">收货地址</a></div>
        <div class="container member clearfix">
            <div class="member_menu">
                <include file="Member/left_menu" /> 
                <script type="text/javascript">
                    $("#ico_addr").addClass("sel");
                </script>
            </div>
            <div class="member_right">
                <div class="right_t clearfix"><span class="ico"></span>新增收货地址</div>
                <div class="member_address_add">
                    <table>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">收货人</td></tr>
                        <tr><td class="td1 hidden-xs">收货人：</td><td class="td2"><input type="text" class="input1" id="realname" name="realname" value=""/></td></tr>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">所在地区</td></tr>
                        <tr><td class="td1 hidden-xs">所在地区：</td><td class="td2"><span id="span_province">
                                    <select name="province" id="province" class="share_sel_1">
                                        <option value="">选择省份</option>
                                        <foreach name="province" item="prov">
                                            <option value="{$prov.province}">{$prov.province}</option>
                                        </foreach>
                                    </select>
                                </span>
                                <span id="span_city"></span>
                                <span id="span_area"></span>
                                <input type="hidden" id="hid_province" name="hid_province" value="" />
                                <input type="hidden" id="hid_city" name="hid_city" value="" />
                                <input type="hidden" id="hid_area" name="hid_area" value="" /></td></tr>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">详细地址</td></tr>
                        <tr><td class="td1 hidden-xs">详细地址：</td><td class="td2"><input type="text" class="input2" name="address" id="address" value="" /></td></tr>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">联系手机</td></tr>
                        <tr><td class="td1 hidden-xs">联系手机：</td><td class="td2"><input type="text" class="input1"  name="phone" id="phone" value="" /></td></tr>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">联系电话</td></tr>
                        <tr><td class="td1 hidden-xs">联系电话：</td><td class="td2"><input type="text" class="input1"  name="tel" id="tel" value="" /></td></tr>
                        <tr class="visible-xs tr_phone_t"><td colspan="2">联系邮箱</td></tr>
                        <tr><td class="td1 hidden-xs">联系邮箱：</td><td class="td2"><input type="text" class="input1"  name="email" id="email" value="" /></td></tr>
                        <tr><td class="td1 hidden-xs"></td><td class="td2"><label><input type="checkbox" name="is_default" id="is_default" value="1"  />设为默认</label></td></tr>
                        <tr><td colspan="2" class="btn"><input type="button" class="button1" value="添加"  id="btn_add" /></td></tr>
                    </table>
                </div>


            </div>
        </div>
        <div class="gray_bg" id="gray_bg"></div>
    </main>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/common/artDialog6/css/ui-dialog.css" />
    <script type="text/javascript" src="__PUBLIC__/common/artDialog6/dist/dialog-min.js"></script>
    <script type="text/javascript">
            var url_address_add = "{:U('Member/address_add')}?";//添加收货地址请求地址
            var url_address_list = "{:U('Member/address')}?";//收货地址列表
            var url_city_sel = "{:U('Address/city_sel')}?";//根据省份获取城市列表
            var url_area_sel = "{:U('Address/area_sel')}?";//根据城市获取地区列表
            var url_get_zip = "{:U('Address/get_zip')}?";//根据地区获取邮政编码
    </script>
    <script src="{$theme_path}/js/member_address.js?v=20190408"></script>
    <include file="Public/footer" />

</body>
</html>

